package ooday01;

public class ConsTest {
    public static void main(String[] args) {
        Car bm = new Car();
        bm.brand = "宝马";
        bm.color = "黑";
        bm.price = 5000000;
        bm.capacity = 5;
        bm.start();

        Car ad = new Car("奥迪","黑",350000,5);
        ad.start();

        Car bc = new Car("奔驰","黑",550000,2);
        bc.start();
    }
}
